package com.bestow.lease.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.bestow.common.annotation.Excel;
import com.bestow.common.core.domain.BaseEntity;

/**
 * 项目方案子项目对象 prj_plan_ln
 * 
 * @author liliu
 * @date 2022-12-07
 */
@TableName("prj_plan_ln")
public class PrjPlanLn extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** pk */
    @TableId(value = "plan_ln_id")
    private Long planLnId;

    /** 头表PK */
    @Excel(name = "头表PK")
    private Long planId;

    /** 关联的项目ID */
    @Excel(name = "关联的项目ID")
    private Long projectId;

    /** 承租人id */
    @Excel(name = "承租人id")
    private Long bpId;

    /** 产品线 */
    @Excel(name = "产品线")
    private String division;

    /** 租赁类型 */
    @Excel(name = "租赁类型")
    private String documentType;

    /** 项目类型 */
    @Excel(name = "项目类型")
    private String projectType;

    /** 来源id，变更时使用，来源于哪个项目 */
    @Excel(name = "来源id，变更时使用，来源于哪个项目")
    private Long sourceId;

    public void setPlanLnId(Long planLnId) 
    {
        this.planLnId = planLnId;
    }

    public Long getPlanLnId() 
    {
        return planLnId;
    }
    public void setPlanId(Long planId) 
    {
        this.planId = planId;
    }

    public Long getPlanId() 
    {
        return planId;
    }
    public void setProjectId(Long projectId) 
    {
        this.projectId = projectId;
    }

    public Long getProjectId() 
    {
        return projectId;
    }
    public void setBpId(Long bpId) 
    {
        this.bpId = bpId;
    }

    public Long getBpId() 
    {
        return bpId;
    }
    public void setDivision(String division) 
    {
        this.division = division;
    }

    public String getDivision() 
    {
        return division;
    }
    public void setDocumentType(String documentType) 
    {
        this.documentType = documentType;
    }

    public String getDocumentType() 
    {
        return documentType;
    }
    public void setProjectType(String projectType) 
    {
        this.projectType = projectType;
    }

    public String getProjectType() 
    {
        return projectType;
    }
    public void setSourceId(Long sourceId) 
    {
        this.sourceId = sourceId;
    }

    public Long getSourceId() 
    {
        return sourceId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("planLnId", getPlanLnId())
            .append("planId", getPlanId())
            .append("projectId", getProjectId())
            .append("bpId", getBpId())
            .append("division", getDivision())
            .append("documentType", getDocumentType())
            .append("projectType", getProjectType())
            .append("sourceId", getSourceId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
